﻿window.onload = function () {
  
}
/*
function Inbox() {
    $("#lnkInbox").click(function () {
        $("#divInBox").css("display", "inline");
        $("#divSentBox").css("display", "none");
    });
}

function Sentbox() {
    $("#lnkSentBox").click(function () {
        $("#divInBox").css("display", "none");
        $("#divSentBox").css("display", "inline");
    });
}*/

function checkEmail() {
    var email = document.getElementById('emailNguoiGui');
    var filter = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/;
    if (!filter.test(email.value)) {
        alert('Vui long nhap email hop le');
        email.focus;
        return false;
    }
}